<script>
	export default {
		onLaunch: function() {
			try {
				const value = uni.getStorageSync('userInfo');
				console.log('value', value)
				if (value) {
					
					this.$store.commit('LOGIN', value)
				}
			} catch (e) {
				console.log('提取用户信息失败')
			}
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "uview-ui/index.scss";
	@import "./static/style/common.scss";
	@import "./static/style/iconfont.css";
	@import '/colorui/main.css';
	@import '/colorui/icon.css';
	// @import '/uview-ui/theme.scss';
</style>
